/**
 * 
 */
package com.market.dao;

import java.util.List;

/**
 * @author luunt
 *
 */
public interface AbstractDao<T extends DomainObject> {
	
	public T find(Long id);
	public List<T> findAll();
	public void insert(T entity);
	public T update(T entity);
	public void remove(T entity);
	public void remove(Long id);
}
